﻿using Newtonsoft.Json;

namespace CkSoftware.GroupMe.Sdk.Groups.Dao
{
	/// <summary>
	/// The preview data for the last group-message.
	/// </summary>
	public class GroupMessagesPreviewData
	{
		/// <summary>
		/// The image of the user last written a message.
		/// </summary>
		[JsonProperty(PropertyName = "image_url")]
		public string ImageUrl { get; set; }

		/// <summary>
		/// The nickname of the last message-poster.
		/// </summary>
		[JsonProperty(PropertyName = "nickname")]
		public string Nickname { get; set; }

		/// <summary>
		/// The text of the last posted message.
		/// </summary>
		[JsonProperty(PropertyName = "text")]
		public string Text { get; set; }
	}
}